<?php if(!defined('PATH_HD'))exit;
$db->exe("DROP TABLE IF EXISTS `hd_role`");
$db->exe("CREATE TABLE `hd_role` (
  `rid` smallint(6) NOT NULL AUTO_INCREMENT,
  `rname` char(60) NOT NULL COMMENT '角色名',
  `pid` smallint(6) NOT NULL COMMENT '父ID',
  `state` tinyint(1) NOT NULL COMMENT '是否开启角色',
  `title` varchar(100) NOT NULL COMMENT '标题',
  `isadmin` tinyint(1) NOT NULL COMMENT '管理组1是0非',
  PRIMARY KEY (`rid`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='角色表\r\n'");

?>